package com.xyht.sca_s.student_manage_system.modules.album.service;

import com.xyht.sca_s.student_manage_system.common.commonReturn.ResponseResult;
import com.xyht.sca_s.student_manage_system.modules.album.entity.SmsAlbum;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xyht.sca_s.student_manage_system.modules.album.entity.req.SmsAlbumAddReq;
import com.xyht.sca_s.student_manage_system.modules.album.entity.req.SmsAlbumPhotoDelReq;
import com.xyht.sca_s.student_manage_system.modules.album.entity.req.SmsAlbumPhotosReq;
import com.xyht.sca_s.student_manage_system.modules.album.entity.req.SmsAlbumViewAddReq;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * 相册主表 服务类
 * </p>
 *
 * @author XYHT
 * @since 2023-07-31
 */
public interface SmsAlbumService extends IService<SmsAlbum> {

    ResponseResult addAlbum(SmsAlbumAddReq albumAddReq, String userId);

    ResponseResult updateAlbum(SmsAlbumAddReq albumAddReq, String userId);

    ResponseResult deletedAlbum(String albumId, String userId);

    ResponseResult getAlbumList(String userId, Integer pageSize, Integer pageNum);

    ResponseResult getAlbumEdit(String albumId);

    ResponseResult getAlbumId(String albumId, Integer pageSize, Integer pageNum,String userId);

    ResponseResult deletedAlbumPhotos(SmsAlbumPhotoDelReq photoDelReq);

    ResponseResult addAlbumPhotos(SmsAlbumPhotosReq addAlbumPhotosReq);

    ResponseResult getAdminAlbumList(Integer pageSize, Integer pageNum,String userId);


    ResponseResult getAllPhotoByTime(String albumId, Date photoTime);

    ResponseResult addAlbumView(SmsAlbumViewAddReq albumViewAddReq, String userId);

    ResponseResult likeAlbum(SmsAlbumViewAddReq albumViewAddReq, String userId);

}
